package com.mdd.front.vo.goods;

import com.mdd.front.vo.comment.GoodsCommentDetailVo;
import com.mdd.front.vo.staff.StaffDetailVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * GoodsVo
 */
@Data
@ApiModel(value = "服务详情返回对象",description = "服务详情返回对象")
public class GoodsDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "服务名称")
    private String name;
    @ApiModelProperty(value = "服务简介")
    private String remarks;
    @ApiModelProperty(value = "分类id")
    private Long categoryId;
    @ApiModelProperty(value = "分类")
    private String category;
    @ApiModelProperty(value = "单位id")
    private Long unitId;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "服务主图")
    private String image;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "划线价")
    private BigDecimal scribingPrice;
    @ApiModelProperty(value = "优惠折扣")
    private BigDecimal discount;
    @ApiModelProperty(value = "状态：1-立即上架；0-放入仓库；")
    private Integer status;
    @ApiModelProperty(value = "状态：1-立即上架；0-放入仓库；")
    private String statusDesc;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "服务详情")
    private String content;
    @ApiModelProperty(value = "预约人数")
    private Integer orderNum;
    @ApiModelProperty(value = "图片集合")
    private List<String> goodsImageList;
    @ApiModelProperty(value = "师傅列表")
    private List<StaffDetailVo> staffList;
    @ApiModelProperty(value = "最新的一条评论信息")
    private GoodsCommentDetailVo commentDetailVo;
    @ApiModelProperty(value = "是否收藏")
    private boolean isCollect;
    @ApiModelProperty(value = "收藏Id")
    private Long collectId;
    @ApiModelProperty(value = "超出数量")
    private Integer outNumber;
    @ApiModelProperty("是否派单")
    private Integer isManualDispatch;
    @ApiModelProperty("是否团购：0-否、1-是")
    private Integer isBuy;
    @ApiModelProperty("团购数量  - 扩展字段")
    private Integer buyNum;
    @ApiModelProperty("团购人数")
    private Integer buyPeopleNum;
    @ApiModelProperty("团购价")
    private BigDecimal buyNumber;//团购价
}
